package demo6;

public class Student {
    private  static Student intstance=new Student();
    private Student(){

    }
    public static Student getInstance(){
        return intstance;
    }
}
